package lab02.test05;

public class Ladder {
    //属性：上底，下底，高。
    double upperBase;
    double bottomBse;
    double high;
    double area;
    //返回面积
    double area(){
        area=(upperBase+bottomBse)*high/2;
        return area;
    }
}
